﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>pagecontrol</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.1.0/css/ui-dark.css" rel="stylesheet" />
    <script src="resultcodebehind.js"></script>
    <script src="//Microsoft.WinJS.1.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.1.0/js/ui.js"></script>

    <link href="pagecontrol.css" rel="stylesheet" />
    <link href="searchresults.css" rel="stylesheet" />
    <script src="searchresultscodebehind.js"></script>
    <script src="searchresults.js"></script>
    <script src="/pages/searchresultbykeyword/searchresults.js"></script>
</head>
<body>
    <div class="pagecontrol fragment">
        <div id="jobOffersTemplate" data-win-control="WinJS.Binding.Template">
            <div class="item-wrapper-jobOffer">
                <a class="viewInJobTiger" href="#" data-win-bind="href: link; innerText: title"></a>
                <span class="offerContent" data-win-bind="innerHTML: content"></span>
            </div>
        </div>

        <header aria-label="Header content" role="banner">
            <button class="win-backbutton" aria-label="Back" disabled type="button"></button>
            <h1 class="titlearea win-type-ellipsis">
                <span class="pagetitle">Резултати от Вашето търсене</span>
            </h1>
        </header>
        <section aria-label="Main content" role="main" id="resultListView">
            <div id="jobOffers" data-win-control="WinJS.UI.ListView" data-win-options="{
                  itemDataSource: ViewModels.jobOffers.dataSource,
                  itemTemplate: select('#jobOffersTemplate')
                }">
            </div>
        </section>
    </div>
    <div id="scenarioAppBar" data-win-control="WinJS.UI.AppBar">
        <button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdBack',label:'Назад',icon:'back', section:'selection',tooltip:'Назад'}"></button>
        <button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdHome',label:'Начало',icon:'home', section:'selection', tooltip:'Покажи начална страница'}"></button>
        <hr data-win-control="WinJS.UI.AppBarCommand" data-win-options="{type:'separator',section:'selection',extraClass:'multiSelect'}" />
        <button data-win-control="WinJS.UI.AppBarCommand" data-win-options="{id:'cmdLoadInfo',label:'Покажи Информация',icon:'list',section:'selection', tooltip:'Покажи повече инфомация за избраните елементи'}"></button>
    </div>
</body>
</html>
